package com.gsoe.problem.dto;

import com.gsoe.problem.po.RandProblem;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class TestDTO extends RandProblem {
    @NotNull
    @Size(min = 1, max = 50)
    private String testName;
    @NotNull
    @Min(1)
    @Max(24*60)
    private Integer time;
}
